#include "problems/1268.h"
#include "gtest/gtest.h"

TEST(TestProblemSolutions, TestProblem1268)
{
    problem_1268::Solution s;
    vector<string> products{"mobile", "mouse", "moneypot", "monitor", "mousepad"};
    string searchWord = "mouse";
    vector<vector<string>> ans{
        {"mobile", "moneypot", "monitor"},
        {"mobile", "moneypot", "monitor"},
        {"mouse", "mousepad"},
        {"mouse", "mousepad"},
        {"mouse", "mousepad"}};
    ASSERT_EQ(s.suggestedProducts(products, searchWord), ans);
}